///////////////////////////////////////////////////////////////////////////// // NORITSU NetOrder SDK Ver 1.0.3 // // QssDef.h // // Copyright (C) 2001 Noritsu Koki Co.,Ltd. // All rights reserved. // // Date : 2002/08/23 ///////////////////////////////////////////////////////////////////////////// #ifndef __QSSDEF_H__ #define __QSSDEF_H__ #define QSS_FORMAT_JPEG 1 // JPEG #define QSS_FORMAT_BMP (1 << 1) // BMP #define QSS_FORMAT_RGB8 (1 << 2) // RGB8 #define QSS_FORMAT_RGB16 (1 << 3) // RGB16 #define QSS_FORMAT_GIF (1 << 4) // GIF #define QSS_FORMAT_TIFF (1 << 5) // TIFF #define QSS_FORMAT_AMIGA (1 << 6) // AMIGA #define QSS_FORMAT_EPS (1 << 7) // EPS #define QSS_FORMAT_FILMSTRIP (1 << 8) // FILMSTRIP #define QSS_FORMAT_FLASHPIX (1 << 9) // FLASHPIX #define QSS_FORMAT_PCX (1 << 10) // PCX #define QSS_FORMAT_PICT (1 << 11) // PICT #define QSS_FORMAT_PIXAR (1 << 12) // PIXAR #define QSS_FORMAT_PNG (1 << 13) // PNG #define QSS_FORMAT_SCITEXCT (1 << 14) // SCITEXCT #define QSS_FORMAT_TARGA (1 << 15) // TARGA #define QSS_FORMAT_PHOTOCD (1 << 16) // PHOTOCD #define QSS_FORMAT_PHOTOSHOP (1 << 17) // PHOTOSHOP // QSS_FRAME_PARAM structure PrintSize #define QSS_PRINT_SIZE_C 0 // Classical #define QSS_PRINT_SIZE_P 1 // Panoramic #define QSS_PRINT_SIZE_H 2 // High-definition // QSS_FRAME_PARAM structure CvpFlg #define QSS_CVP_AUX 0 // CvpString1 and CvpString2 are used for both the 1st and the 2nd lines of CVP. #define QSS_CVP_1QSS2AUX 1 // QSS data is used for the 1st line, and CvpString2 is used for the 2nd line. #define QSS_CVP_1AUX2QSS 2 // CvpString1 is used for the 1st line, and QSS data is used for the 2nd line. #define QSS_CVP_QSS 3 // QSS data is used for both the 1st and the 2nd lines. // QSS_ORDER_PARAM structure IndexPrintFlg // QSS_PRINT_CHANNEL structure IDPSize #define QSS_INDEX_NONE 0 // No index print #define QSS_INDEX_4R 1 // 4R (102mm x 152mm) #define QSS_INDEX_3HD 2 // 3HD(89mm x 158mm) #define QSS_INDEX_3R 3 // 3R (89mm x 127mm) #define QSS_INDEX_4HD 4 // 4HD(102mm x 178mm) #define QSS_INDEX_3W 5 // 3W (89mm x 178mm) #define QSS_INDEX_5R 6 // 5R (127mm x 178mm) #define QSS_INDEX_3WS 7 // 3WS(89mm x 178mm) #define QSS_INDEX_3HS 8 // 3HS(82.5mm x 158mm) #define QSS_INDEX_6R 9 // 6R (152mm x 203mm) #define QSS_INDEX_6HD 10 // 6HD(152mm x 254mm) #define QSS_INDEX_6W 11 // 6W (152mm x 305mm) #define QSS_INDEX_8RS 12 // 8RS(203mm x 254mm) #define QSS_INDEX_8R 13 // 8R (203mm x 305mm) #define QSS_INDEX_8HD 14 // 8HD(203mm x 356mm) // QSS_PRINT_CHANNEL structure IDPSize #define QSS_INDEX_CP6_1 21 // Contact index print of 6 x 1 frames #define QSS_INDEX_CP6_2 22 // Contact index print of 6 x 2 frames #define QSS_INDEX_CP6_3 23 // Contact index print of 6 x 3 frames #define QSS_INDEX_CP6_4 24 // Contact index print of 6 x 4 frames #define QSS_INDEX_CP6_5 25 // Contact index print of 6 x 4 frames #define QSS_INDEX_CP6_6 26 // Contact index print of 6 x 6 frames #define QSS_INDEX_CP6_7 27 // Contact index print of 6 x 7 frames #define QSS_INDEX_CP4_1 28 // Contact index print of 4 x 1 frames #define QSS_INDEX_CP4_2 29 // Contact index print of 4 x 2 frames #define QSS_INDEX_CP4_3 30 // Contact index print of 4 x 3 frames #define QSS_INDEX_CP4_4 31 // Contact index print of 4 x 4 frames #define QSS_INDEX_CP4_5 32 // Contact index print of 4 x 5 frames #define QSS_INDEX_CP4_6 33 // Contact index print of 4 x 6 frames #define QSS_INDEX_CP4_7 34 // Contact index print of 4 x 7 frames #define QSS_INDEX_CP4_8 35 // Contact index print of 4 x 8 frames #define QSS_INDEX_CP4_9 36 // Contact index print of 4 x 9 frames #define QSS_INDEX_CP4_10 37 // Contact index print of 4 x 10 frames // QSS_ORDER_PARAM structure PaperFittingFlg #define QSS_PF_CUT 0 // Cut #define QSS_PF_WHOLE 1 // Overall #define QSS_PF_SAME 2 // Real size // QSS_ORDER_PARAM structure CmsFlg #define QSS_CMS_ON 0 // CMS conversion will be performed on QSS. #define QSS_CMS_OFF 1 // QCMS conversion will not be performed on QSS. // QSS_PAPER_INFO structure MagazineState #define QSS_MAGAZINE_NONE 0 // No paper magazine installed. #define QSS_MAGAZINE_A 1 // Magazine A is installed. #define QSS_MAGAZINE_B 2 // Magazine B is installed. // QSS_ERROR_INFO structure Level #define QSS_ERROR_LVL1 1 // Error that can be corrected easily #define QSS_ERROR_LVL2 2 // Error that needs investigation of the cause and sometimes even // needs to call service personnel, such as temperature related error #define QSS_ERROR_LVL3 3 // Error that needs to call service personnel, such as PCB malfunction // QSS_ORDER_STATE structure OrderState #define QSS_ORDER_NONE 0 // Order does not exist (including orders deleted and ones whose printing is completed) #define QSS_ORDER_ACCEPT 1 // Receiving order #define QSS_ORDER_WAIT 2 // Print queue #define QSS_ORDER_PRINT 3 // Printing #define QSS_ORDER_END 4 // (Unused) #define QSS_ORDER_CANCEL 5 // Canceling #define QSS_ORDER_RESERVE 6 // Order reserved // QSS_ PRINTER_STATE structure QssState #define QSS_STATE_IDLE 0 // Idling #define QSS_STATE_PRINT 1 // Printing #define QSS_STATE_SETUP 2 // Being adjusted (adjusting the solution temperature, Maintenance display being shown, etc.) #define QSS_STATE_ALERT 3 // Error/Attention message is given // QSS_ PRINTER_STATE structure AbleReceive #define QSS_RECEIVE_ENABLE 0 // Printing of input from external source enabled #define QSS_RECEIVE_DISABLE 1 // Printing of input from external source disabled // QSS_ PRINTER_STATE structure AblePU #define QSS_PU_ENABLE 0 // PU enabled #define QSS_PU_DISABLE 1 // PU disabled // QSS_SUM_INFO structure DisposalSpec #define QSS_SPEC_NORMAL 0 // Standard spec. #define QSS_SPEC_SM 1 // SM spec. #define QSS_SPEC_J 2 // J spec. #define QSS_SPEC_EX 3 // EX spec. // QSS_PRINT_CHANNEL structure Printtype #define QSS_PRINTTYPE_NONE 0 // Undefined #define QSS_PRINTTYPE_NORMAL 1 // Normal print #define QSS_PRINTTYPE_EDIT 2 // Edit print #define QSS_PRINTTYPE_PACKAGE 3 // Package print #define QSS_PRINTTYPE_ALBUM 4 // Album // QSS_PRINT_CHANNEL structure InpMediaType #define QSS_INPMEDIA_NONE 0 // Undefined #define QSS_INPMEDIA_CL_NEGA 1 // Color negative #define QSS_INPMEDIA_BW_NEGA 2 // Black & white negative #define QSS_INPMEDIA_CL_POSI 3 // Color reversal #define QSS_INPMEDIA_BW_POSI 4 // Black & white reversal #define QSS_INPMEDIA_PRN_PHOTO 5 // Capture image #define QSS_INPMEDIA_MO 7 // MO #define QSS_INPMEDIA_FD 8 // FD #define QSS_INPMEDIA_DVD 9 // DVD #define QSS_INPMEDIA_CD 10 // CD #define QSS_INPMEDIA_ZIP 11 // ZIP #define QSS_INPMEDIA_SM 12 // Smart media #define QSS_INPMEDIA_CF 13 // Compact flash #define QSS_INPMEDIA_PCCARD 14 // PC card #define QSS_INPMEDIA_HD 16 // HD #define QSS_INPMEDIA_SEPIA 17 // Sepia #define QSS_INPMEDIA_BW_OB 18 // Monochrome (orange base) // QSS_PRINT_CHANNEL structure CvpSw #define QSS_CVP_OFF 0 // CVP disenabled #define QSS_CVP_ON 1 // CVP enabled // QSS_PRINT_CHANNEL structure FPSw #define QSS_FP_NONE 0 // Front print will not be made. #define QSS_FP_RIGHT 1 // Front print, right justified #define QSS_FP_LEFT 2 // Front print, left justified #define QSS_FP_CENTER 3 // Front print, center justified // QSS_PRINT_CHANNEL structure OutMediaSw #define QSS_OUTPMEDIA_NONE 0 // No media output #define QSS_OUTPMEDIA_FD 1 // FD #define QSS_OUTPMEDIA_CDR 2 // CD-R/RW #define QSS_OUTPMEDIA_MO 3 // MO #define QSS_OUTPMEDIA_ZIP 4 // ZIP #define QSS_OUTPMEDIA_DVD 5 // DVD #define QSS_OUTPMEDIA_CF 6 // Compact flash #define QSS_OUTPMEDIA_SM 7 // Smart media #define QSS_OUTPMEDIA_PC 8 // PC card #define QSS_OUTPMEDIA_HD 9 // HD #define QSS_OUTPMEDIA_CDRWSYS 10 // CD-R recording system // QSS_PRINT_CHANNEL structure OutMediaFormat #define QSS_MEDIA_FORMAT_NONE 0 // None #define QSS_MEDIA_FORMAT_JPEG 1 // Jpeg #define QSS_MEDIA_FORMAT_FPX 2 // FlushPix #define QSS_MEDIA_FORMAT_BMP 3 // Bitmap #define QSS_MEDIA_FORMAT_TIFF 4 // TIFF // QSS_PRINT_CHANNEL structure OutMediaInfoQuality #define QSS_MEDIA_QUALITY_0 0 // Standard #define QSS_MEDIA_QUALITY_1 1 // Quality 1 #define QSS_MEDIA_QUALITY_2 2 // Quality 2 #define QSS_MEDIA_QUALITY_3 3 // Quality 3 // QSS_PRINT_CHANNEL structure OutMediaInfoSize #define QSS_MEDIA_SIZE_NONE 0 // None #define QSS_MEDIA_SIZE_1P4 2 // 1/4 BASE #define QSS_MEDIA_SIZE_1 3 // BASE #define QSS_MEDIA_SIZE_4 4 // 4 BASE #define QSS_MEDIA_SIZE_16 5 // 16 BASE #define QSS_MEDIA_SIZE_NONE_HS 100 // None (HS) #define QSS_MEDIA_SIZE_1P4_HS 102 // 1/4 BASE (HS) #define QSS_MEDIA_SIZE_1_HS 103 // BASE (HS) #define QSS_MEDIA_SIZE_4_HS 104 // 4 BASE (HS) #define QSS_MEDIA_SIZE_16_HS 105 // 16 BASE (HS) // QSS_PRINT_CHANNEL structure PaperFitSW #define QSS_PF_CUT 0 // Cut #define QSS_PF_WHOLE 1 // Overall #define QSS_PF_SAME 2 // Real size // QSS_PRINT_CHANNEL structure EditModeNo #define QSS_EDIT_POST_CARD 0 // Postcard #define QSS_EDIT_BUSINESS_CARD 1 // Business card #define QSS_EDIT_CERTIFICATE_PHOTO 2 // ID photo #define QSS_EDIT_MULTI 3 // Multi // QSS_PRINT_CHANNEL structure PapScan120 #define QSS_PAPSCAN120_AUTO 0 // (Unused) #define QSS_PAPSCAN120_TWICE 1 // (Unused) // QSS_PROFILE_INFO structure DeviceKind #define QSS_PROFILE_MON 0 // Get the profile of the monitor. #define QSS_PROFILE_PRN 1 // Get the profile of the printer. #define QSS_SUCCESS 0 // Succeeded, #define QSS_FAIL 1 // Failed #define QSS_INVALID_ORDERNO 11 // Invalid Request number #define QSS_INVALID_FRAMENO 12 // Invalid frame number #define QSS_NOT_SUPPORT_FORMAT 13 // Image format not supported #define QSS_INVALID_REPEATNUM 14 // Invalid repeat number #define QSS_DISKFULL_SPOOL 15 // Insufficient free disk space in spool region. #define QSS_INVALID_FRAMENUM 16 // Invalid frame number #define QSS_INVALID_PAPER 17 // Invalid paper #define QSS_INVALID_WBSIZE 18 // Invalid white border size #define QSS_INVALID_INDEXSIZE 19 // Invalid index print size #define QSS_INVALID_PAPERFITTING 20 // Invalid paper fitting #define QSS_INVALID_ID_AUTHORITY 21 // No authority to delete #define QSS_NO_SUCH_ORDER 22 // Order not found #define QSS_NOT_CONNECTED_PU 23 // PU not installed #define QSS_REMAINING_DATA 24 // There is data not yet acquired #define QSS_DISABLE_MODE 25 // Not Net Order mode #define QSS_INVALID_PAPERLENGTH 26 // Invalid paper advance length #define QSS_RECEIVE_ABORT 27 // Order rejected #define QSS_NOTEXIST_PROFILE 28 // Profile defined does not exist #define QSS_INVALID_SIZE 29 // Printer setup data size illegal. #define QSS_INVALID_FORMAT 30 // Illegal information in printer setup data. #define QSS_IMPERFECT_SETUP 31 // QSS setup is not completed. #define QSS_REMAIN_ORDER 32 // Could not register due to order in spool or print operation being performed. #endif // __QSSDEF_H__